﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Holerite.aspx.cs" Inherits="Financeiro.Holerite" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 300px;
        }
        .style2
        {
            width: 900px;
            text-align: right;
        }
        .centerFontStyle
        {
            text-align: center;
        }
        
        .style3
        {
            width: 300px;
            height: 30px;
        }
        .style4
        {
            height: 30px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
        function CallPrint() {
            var prtContent = document.getElementById("Print");
            var WinPrint =
 window.open('', '', 'letf=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,sta tus=0');
            WinPrint.document.write(prtContent.innerHTML);
            WinPrint.document.close();
            WinPrint.focus();
            WinPrint.print();
            WinPrint.close();
            prtContent.innerHTML = strOldOne;
        }  
    </script>
    ERP - Sistema Financeiro<br />
    <div align="right" style="height: 436px">
        <asp:Button ID="bntImprimir" runat="server" Text="Imprimir" />
        <br />
        <div id="Print">
            <table>
                <tr>
                    <td class="style2">
                        Demonstrativo de Pagamento
                    </td>
                </tr>
            </table>
            <br />
            <table>
                <tr>
                    <td class="style1">
                        Folha de Pagamento
                    </td>
                    <td class="style1">
                        Competência
                    </td>
                    <td class="style1">
                        Data da Geração
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblMensal" runat="server" Font-Bold="True" Height="16px" Text="Mensal"
                            CssClass="centerFontStyle" Width="118px"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:Label ID="lblCompetencia" runat="server" Font-Bold="True" Height="16px" Width="118px"
                            CssClass="centerFontStyle"></asp:Label>
                    </td>
                    <td class="style1">
                        &nbsp;<asp:Label ID="lblDataGeracao" runat="server" Font-Bold="True" Height="26px"
                            CssClass="centerFontStyle" Width="116px"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Funcionário
                    </td>
                    <td>
                        Cargo
                    </td>
                    <td>
                        Setor
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        <asp:Label ID="lblNome" runat="server" Font-Bold="True" Height="16px" Width="118px"
                            CssClass="centerFontStyle"></asp:Label>
                    </td>
                    <td class="style3">
                        <asp:Label ID="lblCargo" runat="server" Font-Bold="True" Height="16px" Width="118px"
                            CssClass="centerFontStyle"></asp:Label>
                    </td>
                    <td class="style4">
                        <asp:Label ID="lblSetor" runat="server" Font-Bold="True" Height="16px" Width="118px"
                            CssClass="centerFontStyle"></asp:Label>
                    </td>
                </tr>
            </table>
            Demonstrativo<br />
            <asp:ListBox ID="lstPagamentos" runat="server" Enabled="False" Height="223px" Width="924px">
            </asp:ListBox>
            <br />
        </div>
    </div>
</asp:Content>
